using BasicData.API.Dtos;
using BasicData.ErrorCode;
using MediatR;
using System;
using System.ComponentModel.DataAnnotations;

namespace BasicData.API.Application.Command
{
    /// <summary>
    /// 根据ID获取生产信息命令
    /// </summary>
    public class GetProductionInfoByIdCommand : IRequest<APIResult<ProductionInfoWithGoodsDTO>>
    {
        /// <summary>
        /// 生产信息ID
        /// </summary>
        [Required(ErrorMessage = "生产信息ID不能为空")]
        public Guid Id { get; set; }
    }
} 